//
//  LCZReadDetailCell.m
//  
//
//  Created by dllo on 15/11/28.
//
//

#import "LCZReadDetailCell.h"
#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height
#define TABAR 44
#define HEADERHIHT 64

@implementation LCZReadDetailCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, WIDTH * 0.0242, self.frame.size.width, 50)];
        self.titleLabel.font = [UIFont systemFontOfSize:WIDTH * 0.04106280193237];
        
        self.titleLabel.numberOfLines = 2;
        [self.contentView addSubview:self.titleLabel];
        
        self.imgsrcImageView = [[UIImageView alloc] init];
        [self.contentView addSubview:self.imgsrcImageView];
        
        self.imgsrcImageView1 = [[UIImageView alloc] init];
        [self.contentView addSubview:self.imgsrcImageView1];
        
        self.imgsrcImageView2 = [[UIImageView alloc] init];
        [self.contentView addSubview:self.imgsrcImageView2];

    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.titleLabel.frame = CGRectMake(0, WIDTH * 0.0242, self.frame.size.width, WIDTH * 0.12077);
    self.imgsrcImageView.frame = CGRectMake(WIDTH * 0.0242, WIDTH * 0.12077, WIDTH * 0.4831, WIDTH * 0.4831);
    self.imgsrcImageView1.frame = CGRectMake(WIDTH * 0.52, WIDTH * 0.12077, WIDTH * 0.38648, WIDTH * 0.2415);
    self.imgsrcImageView2.frame = CGRectMake(WIDTH * 0.52, WIDTH * 0.38648, WIDTH * 0.38648, WIDTH * 0.2415);
}


@end
